.iot-device-message {
    width: 420px;
    min-height: 110px;
    overflow: hidden;
    // background: rgba(38, 38, 38, 0.65);
    background: transparent;
    border-radius: 8px;
    box-sizing: border-box;
    position: relative;
    .page-title {
        font-family: Source Han Sans SC, Source Han Sans SC;
        font-weight: 400;
        font-size: 24px;
        color: #ffffff;
        line-height: 28px;
        text-shadow: 0px 6px 6px rgba(0, 0, 0, 0.3);
        margin-bottom: 24px;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-fill-color: transparent; /* 这不是标准CSS属性，但在这里提供以供参考 */
        background-image: linear-gradient(to right, rgb(255, 255, 255), rgb(255, 255, 255));
    }
    .page-title-extra {
        position: absolute;
        right: 24px;
        top: 32px;
        font-family: Source Han Sans SC, Source Han Sans SC;
        font-weight: 400;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.8);
        line-height: 14px;
        text-shadow: 0px 6px 6px rgba(0, 0, 0, 0.3);
    }

    .page-list {
        width: 100%;
        height: 100%;
        overflow: hidden;
        .message-box {
            width: 100%;
            height: 110px;
            background: rgba(75, 75, 75, 0.65);
            border-radius: 8px;
            box-sizing: border-box;
            padding: 4px 12px;
            position: relative;
            margin-bottom: 12px;
            .message-header {
                width: 100%;
                height: 32px;
                border-bottom: 1px dashed rgba(255, 255, 255, 0.6);
                position: relative;
                display: flex;
                align-items: center;
                .message-title-badge {
                    width: 10px;
                    height: 10px;
                    border-radius: 5px;
                    display: inline-block;
                }
                .message-title-badge-red {
                    background-color: rgba(255, 35, 0, 1);
                }
                .message-title-badge-yellow {
                    background-color: rgba(255, 211, 0, 1);
                }
                .message-title-badge-green {
                    background-color: rgba(0, 255, 196, 1);
                }
                .message-title {
                    font-family: Source Han Sans SC, Source Han Sans SC;
                    font-weight: bold;
                    font-size: 14px;
                    color: #ffffff;
                    line-height: 16px;
                    text-align: center;
                    font-style: normal;
                    text-transform: none;
                    margin-left: 6px;
                }
                .message-title-extra {
                    position: absolute;
                    right: 0px;
                    top: 12px;
                    width: 12px;
                    height: auto;
                }
            }
            .message-content {
                width: 76%;
                margin-top: 4px;
                position: relative;
                font-family: Source Han Sans SC, Source Han Sans SC;
                font-weight: 400;
                font-size: 12px;
                color: rgba(255, 255, 255, 0.8);
                line-height: 18px;
                text-align: left;
                font-style: normal;
                text-transform: none;
            }
            .message-content-img {
                width: 78px;
                height: 58px;
                position: absolute;
                right: 12px;
                bottom: 10px;
            }
            .message-footer {
                width: 100%;
                height: 32px;
                position: absolute;
                bottom: 0;
                .footer-time {
                    font-family: Source Han Sans SC, Source Han Sans SC;
                    font-weight: 400;
                    font-size: 10px;
                    color: rgba(255, 255, 255, 0.6);
                    line-height: 12px;
                    text-align: left;
                    font-style: normal;
                    text-transform: none;
                    display: inline-block;
                }
                .footer-deal {
                    // width: 47px;
                    height: 16px;
                    padding: 0 6px;
                    background: rgba(63, 63, 63, 0.65);
                    border-radius: 2px 2px 2px 2px;
                    font-family: Source Han Sans SC, Source Han Sans SC;
                    font-weight: 400;
                    font-size: 10px;
                    color: #ffffff;
                    line-height: 14px;
                    text-align: center;
                    font-style: normal;
                    display: inline-block;
                }
            }
        }
        .no-message {
            padding: 32px 0px;
            text-align: center;
            img {
                display: inline-block;
                height: 100px;
            }
            p {
                color: #98989e;
            }
        }
        .no-message-small {
            padding: 6px 0px;
            text-align: center;
            img {
                display: inline-block;
                height: 70px;
            }
            p {
                color: #98989e;
            }
        }

        &::-webkit-scrollbar {
            /*滚动条整体样式*/
            width: 8px; /*高宽分别对应横竖滚动条的尺寸*/
            height: 8px;
            scrollbar-arrow-color: red;
        }
        &::-webkit-scrollbar-thumb {
            /*滚动条里面小方块*/
            border-radius: 5px;
            -webkit-box-shadow: inset 0 0 5px rgba(218, 218, 218, 0.2);
            box-shadow: inset 0 0 5px rgba(218, 218, 218, 0.2);
            background: rgba(218, 218, 218, 0.8);
            scrollbar-arrow-color: red;
        }
        &::-webkit-scrollbar-track {
            /*滚动条里面轨道*/
            -webkit-box-shadow: inset 0 0 5px rgba(218, 218, 218, 0.2);
            box-shadow: inset 0 0 5px rgba(218, 218, 218, 0.2);
            border-radius: 0;
            background: rgba(218, 218, 218, 0.1);
        }
    }
}
